-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paver Removal 3/3 #34832
base: master
Are you sure you want to change the base?
Paver Removal 3/3 #34832
Conversation
8d2f898
to
b62342d
Compare
563e1cb
to
1109e0b
Compare
1109e0b
to
0be6951
Compare
@feanil If you have some spare cycles to review this, would you like do the honors? |
BREAKING CHANGE: Removes all remaining Paver commands including `pavelib/prereqs.py:*` and `pavelib/assets.py:*`. BREAKING CHANGE: Removes `./manage.py [lms|cms] compile_sass`, which was just a wrapper around Paver commands. BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt instead. Part of: openedx#34467
There are three packages which edx-platform needs in order to run which were being installed transitively via paver.in. Since we are removing paver.in, these dependencies need to be transferred into kernel.in: * psutil * pymemcache * wrapt Part of: openedx#34467
BREAKING CHANGE: Removes libsass from requirements/edx/base.txt. Operators will need to install requirements/edx/assets.txt in order to compile Sass. Commit generated by workflow `kdmccormick/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master`
This is technically a breaking change, but these commands were added a week ago and were not yet documented, so I'm not worried about breaking anyone's workflow with this commit.
0be6951
to
2aa06f4
Compare
I'm hoping to merge a subset of this PR ASAP: The rest of this PR (all the breaking parts) will have to wait for a bit while we sort out a regression in edx-proctoring. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes look good, can we also update xmodule/tests/__init__.py
and lms/envs/minimal.yml
to not mention paver. The rest of the mentions I think will get cleaned up in future cleanup that we have planned around devstack settings or it is in historic documents.
Good to merge once those last two files are updated from my perspective.
Description
This fully removes Paver from edx-platform and updates some documentation accordingly. See individual commits for more detail.
BREAKING CHANGE: Removes all remaining Paver commands including
pavelib/prereqs.py:*
andpavelib/assets.py:*
.BREAKING CHANGE: Removes
./manage.py [lms|cms] compile_sass
, whichwas just a wrapper around Paver commands.
BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt
instead.
BREAKING CHANGE: Removes libsass from requirements/edx/base.txt.
Operators will need to install requirements/edx/assets.txt in order to
compile Sass.
Note that the
build!: rejigger npm run test commands
commit is technically a breaking change, but those commands were first added a week ago and were not documented, so I don't feel like we need to raise this as BREAKING CHANGE.Supporting information
This plan has been accepted and communicated via the DEPR process:
Previous PRs (blocking this one):
Paver Removal 2/3 #34830Testing instructions
I built the Tutor openedx and openedx-dev images with this branch. I smoke tested LMS and CMS in both modes, and ensure that I could toggle between Indigo and the default theme.
I inspected the JS Test logs to ensure that we're still running 6 test suites (jest, cms-vanilla, cms-require, xmodule-vanilla, common-vanilla, common-require).
Finally, you can check out the updated edx-platform testing guide here: https://github.com/kdmccormick/edx-platform/blob/kdmccormick/paver-rm-3/docs/concepts/testing/testing.rst. Using Tutor, I installed the tutor-contrib-legacy-js plugin (from a branch:
https://github.com/kdmccormick/openedx-tutor-plugins/tree/kdmccormick/test-legacy-js/plugins/tutor-contrib-test-legacy-js
) and ran JS tests locally.